package com.maxlen.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maxlen.admin.entity.AdminRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2022-10-11
 */
public interface IAdminRoleService extends IService<AdminRole> {

    void removeByRoleId(Long id);

    void addByRoleIdList(Long id, List<Long> roleId);

    void removeByAdminId(Long id);

    void removeByAdminIdRoleId(Long adminId, Long roleId);
}
